<%- include('header.html') -%>

<h1>百度新闻</h1>
<ul id="baiduNews">
  <% data.forEach(function(item){ %>
  <li>
    <% if (item.title) { %>
    <div class="article-card">
      <div class="article-content">
        <a href="<%= item.href %>">
          <h2 class="title"><%= item.title %></h2>
          <!-- <div class="abstract"><%= item.brief_content %></div> -->
        </a>
      </div>
    </div>
    <% } %>
  </li>
  <% }) %>
</ul>
<%- include('footer.html') -%>
